Restores Items and Quantities of a Saved Cart into the current Shopping Cart.
Method | RestoreAddToCart |
The request body is of type RestoreAddToCart.
Name | Description | Data Type |
---|---|---|
SavedCart_ID | The SavedCart_ID of the Saved Cart to restore. | xml:int |
// Example: Restore the saved Cart // the saved cart with SavedCart_ID = 37 // then send the response to the browser console MakeAJAXCall("Cart.RestoreAddToCart", { SavedCart_ID:37 }, console.log);
The response body is of type RestoreAddToCartResponse.
Name | Description | Data Type |
---|---|---|
RestoreAddToCartResult | A String value containing a JSON object with Success, and Message types.
{ "Success": true, "Message": "The items have been added to your Shopping Cart" }
| xml:string |